package com.awenhui.demo.model.em;

import com.awenhui.demo.core.base.IBaseEnum;

/**
 * @author yuxf
 * @version 1.0
 * @date 2021/4/26 10:50
 */
public enum  Color implements IBaseEnum {
    Red(0,"红色"),Green(1,"绿色"),Blue(3,"蓝色");

    Color(int value,String description){
        this.value=value;
        this.description=description;
    }
    private int value;
    private String description;

    @Override
    public int getValue() {
        return value;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
